<?php include("inc/db_config.inc"); ?>
        <?php

    $g_title="联系偶";

?>
<?php 
$g_tab="contact";
$g_header=""; 
$g_js='<script type="text/javascript">
var a="xiaoshan"; 
$(document).ready(function(){
 $("#cycode").click(function(){
	$("#ycode").attr("src","code.php?rand="+Math.random());
 })
})
</script>';
?>
        <?php include("header.php"); ?>
			<div class="crumb"><a href="index.php">首页</a>&gt;联系我</div>
			<div class="main">
				<div class="article">
					<div class="conbox">
						<div class="cb_hd">
							<span class="cb_tl"></span>
							<span class="cb_tr"></span>
							<h2>留言</h2>
						</div>
						<div class="cb_bd">
							<h3 style="padding:10px 5px 5px 70px;">就写在这里吧，我会收到的</h3>
							<div class="comments">
								
								<dl>
									
									<dd>
										<form class="blog_send" action="comment_submit.php" method="post">
										<p>
											<label>姓名:(*)</label>
											<input name="name" class="txt" type="text"/>
										</p>
										<p>
											<label>Email:(*)</label>
											<input name="email" class="txt" type="text"/>
										</p>
										<p>
											<label>内容:(*)</label>
											<textarea name="content" class=""></textarea>
                                            <input type="hidden" name="cid" />
                                            <input type="hidden" name="aid" value="<?php echo $pid; ?>" />
										</p>
										<p  class="vtm">
											<label>验证码:(*)</label>
											<img src="code.php" id="ycode"/>  <input name="yz" size="2" type="text"/><a id="cycode" href="javascript:void(0)">这道题我不会..换一个吧</a>
										</p>
										<p>
											<button class="sub">提交</button>
										</p>
										</form>
									</dd>
								</dl>
							</div>
						</div>
						<div class="cb_ft"></div>
					</div>
				</div>
			</div>
        <?php include("footer.php"); ?>